package com.queclink.puzzle;

import com.queclink.puzzle.common.PuzzleJFrame;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

import javax.swing.*;

@EnableAsync
@SpringBootApplication
public class PuzzleApplication {

    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                PuzzleJFrame.createAndShowGUI();
            }
        });
        SpringApplication.run(PuzzleApplication.class, args);
    }



}
